package com.qf.bank.cardinfoprovider.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.bank.cardinfoapi.po.CardInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lwf
 * @since 2019-12-04
 */
@Mapper
public interface CardInfoMapper extends BaseMapper<CardInfo> {
    /**
     * 根据用户名获取用户所有的银行卡信息
     * @param userName
     * @return
     */
    List<CardInfo> getByuserName(String userName);

}
